<%--
  Created by IntelliJ IDEA.
  User: 12822
  Date: 2023/11/28
  Time: 22:07
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>阿巴阿巴交流群</title>
    <meta http-equiv="refresh" content="30">
    <style>
        .big{
            height: 565px;
            width: 1500px;
            background-color:antiquewhite;
            opacity: 0.5;
            color: rgb(113,0,169);
        }
        form{
            position: fixed;
            top: 90%;
        }
        .small{
            height:30px;
            width: 250px;
            font-weight: bolder;
            color:rgb(78, 97, 1);
            position: fixed;
            right: 2%; top: 2%;
            text-align: center;
            background-color: wheat;
        }
    </style>
</head>
<body background="pic/background_2.jpg">
    <%
    String text=(String)request.getServletContext().getAttribute("text");
    if(text==null) text="";
    %>
<div class="big">
    <%=text%>
    <div class="small">
        上线人数：${renshu}人
    </div>
    <form action="chat.do" method="post" target="_self" id="form">
        <textarea style="height: 50px; width: 1480px;" placeholder="请输入聊天信息" name="text"></textarea>
        <input type="submit" value="提交">
    </form>
    </div>
</html>